Skip to content

docs: v0.142.0 -- citation backfill batch 22: CHAIN (issue #164) - #193

Merged
SoundMatt merged 1 commit into
mainfrom
docs/tc18-citation-backfill-chain
Aug 7, 2026
Merged

docs: v0.142.0 -- citation backfill batch 22: CHAIN (issue #164)#193
SoundMatt merged 1 commit into
mainfrom
docs/tc18-citation-backfill-chain

Conversation

@SoundMatt

Copy link
Copy Markdown
Owner

Summary

Phase 2 (issue #164) citation-backfill batch 22: CHAIN (request_chained.c).

Cited 8 of 9 remaining uncited REQ-CHAIN-* requirements:

  • REQ-CHAIN-003, 005-007 — member encode/decode validation, against §11.2.2.4 Figure 11's chained-request wire format + §11.2.2 mtv=0 repurposing intro + Table 5's 0x01 opcode
  • REQ-CHAIN-008 — no-predecessor CHAIN_ERROR rule
  • REQ-CHAIN-009 — cs-bit-driven CHAIN_ABORTED rule
  • REQ-CHAIN-011 — chain_exec_delay elapsing
  • REQ-CHAIN-012 — reserved-octet rejection rule

Left uncited: REQ-CHAIN-001 (strerror() uniqueness) — standing pattern.

One id-mapping error caught and fixed before any edit ran: initially drafted a citation for REQ-CHAIN-002, but the pre-flight live field-presence scan showed it was already cited — REQ-CHAIN-001 was the one actually uncited.

Verification

  • Purely additive .fusa-reqs.json change; no source/test code touched.
  • Full build: 69/69 targets. Full test suite: 64/64 passed.
  • cfusa check: 0 errors.
  • cfusa trace --req-coverage 100 --sec-tested 100: 100%/100%.
  • .fusa-reqs.json JSON-validated.
  • Citation count: 614/1028 (59.7%) → 622/1028 (60.5%). CHAIN module: 3/12 → 11/12.

Ref: issue #164.

Cited 8/9 remaining uncited REQ-CHAIN-* requirements against TC18
§11.2.2.4's Figure 11 chained-request wire format, the no-predecessor
CHAIN_ERROR rule, the cs-bit-driven CHAIN_ABORTED rule, and the
reserved-octet rejection rule. One id-mapping error (REQ-CHAIN-002 vs
the actually-uncited REQ-CHAIN-001) caught and fixed by the pre-flight
check before any edit ran.

Purely additive; no code or test behavior changed. 1028 requirements
(unchanged count), 100% traced+tested, 0 cfusa check errors.

Signed-off-by: Matt <47545907+SoundMatt@users.noreply.github.com>
@SoundMatt
SoundMatt merged commit 60e6ad4 into main Aug 7, 2026
23 checks passed
@SoundMatt
SoundMatt deleted the docs/tc18-citation-backfill-chain branch August 7, 2026 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant